export default {
  // 根据节点获取字典
  getDictByNode: (state) => (node) => {
    if (state.dict.hasOwnProperty(node)) {
      return {...state.dict[node]}
    }
    return {}
  },
  // 获取所有字典
  getDict: state => state.dict,
  getTips: state => state.tips
}
